package com.sora.sora.common.model.vo;

import lombok.*;

@Data
public class AuthenticationVO {

    private int id;

    private String name;

    private String email;

    private String accessToken;

    private String refreshToken;

    private String avatarUrl;

    private String sign;

    private int gender;

    public AuthenticationVO() {
    }

    public AuthenticationVO(int id, String name, String accessToken, String refreshToken) {
        this.id = id;
        this.name = name;
        this.accessToken = accessToken;
        this.refreshToken = refreshToken;
    }

    public AuthenticationVO(int id, String name, String email,
                            String accessToken, String refreshToken,
                            String avatarUrl, String sign, int gender) {
        this.id = id;
        this.name = name;
        this.email = email;
        this.accessToken = accessToken;
        this.refreshToken = refreshToken;
        this.avatarUrl = avatarUrl;
        this.sign = sign;
        this.gender = gender;
    }
}
